from django.urls import path
from . import views

urlpatterns = [
    path('api/v1.0/areas/', views.AreaView.as_view()),
    path('api/v1.0/houses', views.RentalsView.as_view()),
    path('api/v1.0/houses/<int:house_id>/images', views.HouseImageView.as_view()),
    path('api/v1.0/user/houses/', views.MyHouseView.as_view()),
    path('api/v1.0/houses/index/', views.IndexHouseView.as_view()),
    path('api/v1.0/houses/<int:house_id>', views.HouseDetailView.as_view()),
]